{% extends "base.html" %}
{% block title %}个人资料{% endblock %}

{% block content %}
<div class="card">
    <div class="card-header">
        <h4>用户资料</h4>
    </div>
    <div class="card-body">
        <p><strong>用户名:</strong> {{ user.name }}</p>
        <p><strong>登录ID:</strong> {{ session.user }}</p>
        <a href="{{ url_for('auth.logout') }}" class="btn btn-danger">登出</a>
    </div>
</div>
{% endblock %}
